package cn.edu.bcu.ls.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.bcu.ls.entity.History;
import cn.edu.bcu.ls.entity.Hot;

public interface HistoryMapper {

	
	int deleteByPrimaryKey(@Param("hId") Integer hId);

    int insert(History record);

    int insertSelective(History record);
    
    List<History> queryHistory();
    
    List<History> getTagByCourseId(History history);

    int updateByPrimaryKeySelective(History record);

    int updateByPrimaryKey(History record);
    
    List<Hot> getHotByCourse();
}
